﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="BuscadorDePreco.Account.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Styles/Login.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:Login ID="LoginUser" runat="server" EnableViewState="false" 
            RenderOuterTable="false">
        <LayoutTemplate>
            <span class="failureNotification">
                <asp:Literal ID="FailureText" runat="server"></asp:Literal>
            </span>
            <asp:ValidationSummary ID="LoginUserValidationSummary" runat="server" CssClass="failureNotification" 
                 ValidationGroup="LoginUserValidationGroup"/>
            <div class="admin">
               <%-- <fieldset class="login">--%>
                    <%--<legend>Account Information</legend>--%>
                    <%--<p>--%>

                    <div class="content">
		                <div class="header">
			                <img src="/Resources/Images/logo-register.png">
		                </div>
		                <div class="middle">
			                <div class="admin">
                                <div style="width:245px; margin:0 auto; text-align:left;">
  				                    <span>Área restrita:</span><br /><br />              
					                <%--<input type="textbox" maxlength="16"  /><br /><br />
					                <input type="password" maxlength="16"/><br /><br />
					                <input style="float:right; margin-right:12px;" type="button" value="ok"/><br />--%>
                                    <asp:TextBox ID="UserName" runat="server" CssClass="textEntry"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName" 
                                         CssClass="failureNotification" ErrorMessage="User Name is required." ToolTip="User Name is required." 
                                         ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
                                    
                                    <asp:TextBox ID="Password" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password" 
                                         CssClass="failureNotification" ErrorMessage="Password is required." ToolTip="Password is required." 
                                         ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>

                                    <br />
                                    <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="OK"
                                                ValidationGroup="LoginUserValidationGroup" style="float:right; margin-right:12px;" />
                                    <br /><br />
                                </div>
			                </div>
		                </div>
		                <div class="footer">
			                <div class="separator"></div>
			                <p>© 2013 Buscador de Preço · Todos os direitos reservados</p>
		                </div>
	                </div>

                    <%--<div style="float:left;">
                        <span>Área restrita:</span>
                        <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Usuário:</asp:Label>
                        
                    </p>
                    <p>
                       <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Senha:</asp:Label>
                       
                    </p>
                    </div>
                    <p class="submitButton">
                        
                    </p>
                    <div>
                        <asp:CheckBox ID="RememberMe" runat="server"/>
                        <asp:Label ID="RememberMeLabel" runat="server" AssociatedControlID="RememberMe" CssClass="inline">Manter logado</asp:Label>
                    </div>--%>
                <%--</fieldset>--%>
            </div>
        </LayoutTemplate>
    </asp:Login>
    </div>
    </form>
</body>
</html>
